import service from "@/utils/request";

export function usePlanInspectionInsert(data: any){
    return service.post("/slag-truck/vehicle-inspection", data)
}
export function useInspectionInfoApi(id: string){
    return service.get("/slag-truck/vehicle-inspection/" + id)
}
export function useRecordInspectionInsertApi(data: any){
    return service.post("/slag-truck/vehicle-inspection", data)
}
export function useGetInspectItemApi(type: number){
    return service.get("/slag-truck/inspect-dict/list", {
        params: {
            type: type
        }
    })
}
